const { h } = window.Vue

const MyTitle = {
  setup (props, context) {
    console.log(props)
    console.log(context.emit)
    context.emit('my-event', '10000')
    return () => {
      return h('h2', {}, context.slots.abc())
    }
  }
}

export default MyTitle